<!-- 
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.1.1
Version: 2.0.2
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<!--<![endif]-->
<!-- BEGIN HEAD -->
<!-- BEGIN BODY -->
<div class="page-header-fixed" ng-controller="activitList_new">
<!-- BEGIN CONTAINER -->
	<!-- BEGIN CONTENT -->
		<!--表格操作按钮组-->
		<div class="tabbable tabbable-custom boxless">
			<ul class="nav nav-tabs">
				<li class="active">
					<!--<a href="#bootbox" data-toggle="tab">TAB1</a>-->
					<a data-toggle="tab">活动管理</a>
				</li>
			</ul>
			<div class="tab-content"></dvi>
		</div>
		<div class="table_btn_box">
			<!--参数：this必填项；subjectModel1弹出框ID；test1点击修改框执行的代码-->
			<a class="btn blue" onClick="tableAdd(this,'subjectModel1');"><i class="fa fa-plus"></i>新增</a>
			<a class="btn blue" onClick="tableDel(this,'subjectModel1','test1');" ng-click="sure_delete($index)"><i class="fa fa-trash-o"></i>删除</a>
		</div>
		<!--表格头部刷选条件-->
		<hr />
		<div class="form-group" style="margin: 0px;">
			<div class="row">
				<div class="col-sm-3">
					<label class="col-sm-3 control-label text-right">搜索</label>
					<div class="col-sm-9"><input type="text" ng-model="texts" class="form-control"/></div>
				</div>
				<div class="col-sm-1"><a class="btn blue"><i class="fa fa-search"></i>查询</a></div>
			</div>
		</div>
		<hr />
		<table class="table table-striped table-bordered table-hover" id="table_1">
			<thead>
				<tr>
					<th class="table-checkbox">
						<input type="checkbox" class="checkbox_table" />
					</th>
					<th>配图</th>
				    <th>标题</th>
					<th>标签</th>
				    <th>时间</th>
					<th>链接</th>
					<!-- <th>操作</th> -->
				</tr>
			</thead>
			<tbody>
				<tr class="odd gradeX" ng-repeat="x in mynews | filter:texts">
					<td>
						<input type="checkbox" class="checkboxes" value="1" />
					</td>
					<td><img src="{{x.myimg}}}"></td>
					<td>{{x.mybiao}}</td>
					<td>{{x.myqian}}</td>
					<td>{{x.mytime}}</td>
					<td>{{x.myhttp}}</td>
					<!-- <td><a class="btn" ng-click="table-demo()">修改</a></td> -->
				</tr>
			</tbody>
		</table>
<div id="subjectModel1" class="modal fade" role="dialog" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title">添加新的活动</h4>
			</div>
			
			<div class="modal-body form">
				<div class="form-group">
					<div class="row">
						<label class="col-sm-2 control-label text-right">标题</label>
						<div class="col-sm-10">
							<div class="input-group">
							<input type="text" class="form-control" ng-model="modifyModel.title" />
							</div>
						</div>
					</div>
					<div class="row">
						<label class="col-sm-2 control-label text-right">标签</label>
						<div class="col-sm-10">
							<div class="input-group">
							<input type="text" class="form-control" ng-model="modifyModel.tag" />
							</div>
						</div>
					</div>
					<div class="row">
						<label class="col-sm-2 control-label text-right">时间</label>
						<div class="col-sm-10">
							<div class="input-group">
							<input type="text" class="form-control" ng-model="modifyModel.time" />
							</div>
						</div>
					</div>
					<div class="row">
						<label class="col-sm-2 control-label text-right">链接</label>
						<div class="col-sm-10">
							<div class="input-group">
							<input type="text" class="form-control" ng-model="modifyModel.http" />
							</div>
						</div>
					</div>
					<hr />
					<div class="row">
						<div class="col-sm-6 text-center">
							<div class="show_img" id="showPortrait4Box">
	                            <img src="/manageView/assets/img/logo.png">
	                        </div>
	                        <label class="system_btn">上传配图<input type="file" name="portrait" class="hide input_portrait" onchange="previewImage(this,'showPortrait4Box')"/></label>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-times"></i>关闭</button>
				<button type="button" class="btn btn-primary" ng-click="baocun()"><i class="fa fa-check"></i>保存</button>
			</div>
		
		</div>
	</div>
</div>
</div>